knitr::opts_chunk$set(echo = TRUE)
library(roxygen2)
library(devtools)
# need both of these packages in order for document to work

In a function, R files have to have inputs and parameters at the top using the following syntax

#' name of function
#'
#' description of what it's going to do (can be multiple lines)
#' @param
#' @param
#' @param
#' @author
#' @examples
#' @return output variable

Creating data documentation



molly-williams/mollyspackage2 documentation built on March 21, 2021, 4:15 p.m.